package com.xm.shop.pojo.qo;

/**
 * @author ludi
 * @date:2020/9/3 9:24
 * @description:商品分页参数类
 */
public class ProductPagingQO {
    private String typeName;//商品种类名
    private Integer curPage;//当前第几页
    private Integer pageNum;//一页显示商品个数

    public ProductPagingQO() {
    }

    public ProductPagingQO(String typeName, Integer curPage, Integer pageNum) {
        this.typeName = typeName;
        this.curPage = curPage;
        this.pageNum = pageNum;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getCurPage() {
        return curPage;
    }

    public void setCurPage(Integer curPage) {
        this.curPage = curPage;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    @Override
    public String toString() {
        return "ProductPagingQO{" +
                "typeName='" + typeName + '\'' +
                ", curPage=" + curPage +
                ", pageNum=" + pageNum +
                '}';
    }
}
